package cn.wolfcode.service;

import cn.wolfcode.domain.Employee;
import cn.wolfcode.domain.Notice2;
import cn.wolfcode.qo.QueryObject;
import com.github.pagehelper.PageInfo;

import java.util.List;

public interface INotice2Service {
    void save(Notice2 notice2, List<Employee> employees);
    void delete(Long id);
    void update(Notice2 notice2);
    Notice2 get(Long id);
    List<Notice2> listAll();
    // 分页查询的方法
    PageInfo<Notice2> query(QueryObject qo);
}
